package com.ruoyi.project.platform.agent.basic;


import com.ruoyi.project.platform.agent.constant.AccountType;
import com.ruoyi.project.platform.agent.constant.DirectType;
import com.ruoyi.project.platform.agent.constant.Platform;
import com.ruoyi.project.platform.agent.constant.TriggerState;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

public class TriggerDto {
    @Data
    @ApiModel
    public static class TriggerBase {
        private AccountType accountType;//: 1,
        private Platform platform;//: this.platform,
        private TriggerState triggerState;
        private String runningId;//: this.runningId,
        private String upRate;//: '',
        private String downRate;//: '',
        private DirectType active;//: '',
        private String triggerPrice;//: undefined,
        private String orderPrice;//: undefined,
        private String orderMount;//: undefined,
        private String currentPrice;//: undefined
    }

    @Data
    @ApiModel
    public static class TriggerInfo extends TriggerBase {
        private Long id;
        private Long createDate;
        private Long updateDate;
    }

}
